package org.apache.ibatis.config.mapping;

import java.sql.ResultSet;

/**
 * @Name ResultSetType
 * @Description: TODO 待补充
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-05-19 14:49:59
 **/
public enum ResultSetType {
    DEFAULT(-1),
    FORWARD_ONLY(ResultSet.TYPE_FORWARD_ONLY),
    SCROLL_INSENSITIVE(ResultSet.TYPE_SCROLL_INSENSITIVE),
    SCROLL_SENSITIVE(ResultSet.TYPE_SCROLL_SENSITIVE);

    private final int value;

    ResultSetType(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
